/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Ejercicio6_6_1;

/**
 *
 * @author alumno
 */
public class DateTwo {

    public short dia;

    public void displayDay() {

        switch (dia) {

            case 1:
                System.out.println("Lunes");
                break;
            case 2:
                System.out.println("Martes");
                break;
            case 3:
                System.out.println("Miercoles");
                break;
            case 4:
                System.out.println("Jueves");
                break;
            case 5:
                System.out.println("Viernes");
                break;
            case 6:
                System.out.println("Sabado");
                break;
            case 7:
                System.out.println("Domingo");
                break;
            default:
                System.out.println("Error");

        }

    }




}
